package JavaTest.overRideTest;

public class Student extends Person{
    private int id;
    private int score;

    public Student(String name, int age, int id, int score) {
        super(name, age);
        this.id = id;
        this.score = score;
    }

    public Student(int id, int score) {
        this.id = id;
        this.score = score;
    }

    public String say(){
        return super.say()+"student id" + id + "score"+score;
    }
}
